<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>栏目管理</title>
<load href="__PUBLIC__/Css/admin_style.css"/>
<style type="text/css">
<!--
.t1 {
	background-color: #FFEA93;
}
.t2 {
	background-color: #FFF3EE;
}

-->
</style>
</head>

<body>
{//公共上部}
<!-- layout::Admin:Syscolumn:inc_top::0 -->
 <if condition="empty($syscolumns) eq true">对不起，现在还没有栏目!请<a href="__URL__/add/parid/{$Think.get.parid}">添加</a><else/>
<table  border="0" cellspacing="5"  cellpadding="0" style="text-align:center">
  <tr>
    <td>栏目名称</td>
    <td>栏目英文名称</td>
    <td>栏目网址</td>
    <td>顺序</td>
    <td>操作</td>
    <td>是否显示</td>
    <td>左侧显示</td>
    <td>字段管理</td>
  </tr>
  <volist name="syscolumns" id="vo">
  <tr onmouseover="this.className='t1'" onmouseout="this.className='t2'" class="t2">
    <td><a href="__URL__/index/parid/{$vo.id}">{$vo.col_name}</a></td>
    <td>{$vo.col_eng_name}</td>
    <td>{$vo.col_url}</td>
    <td><if condition="$vo.sequence lt $maxseq"><a href="__URL__/up/id/{$vo.id}">↑</a></if>&nbsp;<if condition="$vo.sequence gt $minseq"><a href="__URL__/down/id/{$vo.id}">↓</a></if></td>
    <td><a href="__URL__/edit/id/{$vo.id}">修改</a>&nbsp;<a href="__URL__/del/id/{$vo.id}" onclick="if(!confirm('同时会删除子栏目,你确认要删除吗？')){return false;}">删除</a><notempty name="vo.col_eng_name">&nbsp;<a href="__URL__/sysfield_group/table/{$vo.col_eng_name}">字段分组</a></notempty></td>
    <td><if condition="$vo.is_show eq true"><a href="__URL__/setshow/is_show/{$vo.is_show}/id/{$vo.id}/parid/{$Think.get.parid}">√</a><else/><a href="__URL__/setshow/is_show/{$vo.is_show}/id/{$vo.id}/parid/{$Think.get.parid}">×</a></if></td>
    <td><if condition="$vo.left_show eq true"><a href="__URL__/setshow/left_show/{$vo.left_show}/id/{$vo.id}/parid/{$Think.get.parid}">√</a><else/><a href="__URL__/setshow/left_show/{$vo.left_show}/id/{$vo.id}/parid/{$Think.get.parid}">×</a></if></td>
    <td><if condition="empty($vo['col_eng_name']) eq false"><a href="__APP__/admin/sysfield/index/table/{$vo.col_eng_name}">修改字段</a></if></td>
  </tr>
  </volist>
</table>
</if>
</body>
</html>
